<template>
  <div class="links">
    <NuxtLink to="/blog" class="btn">查看博客</NuxtLink>
    <NuxtLink to="/about" class="btn">关于我</NuxtLink>
  </div>
  <NuxtPage />
</template>

<style scoped>
.links {
  text-align: center;
}
.btn {
  display: inline-block;
  margin: 10px;
  padding: 10px 20px;
  color: #fff;
  background: #007bff;
  text-decoration: none;
  border-radius: 8px;
  transition: background 0.3s;
}

.btn:hover {
  background: #0056b3;
}
</style>
